<html>
    <meta charset="utf-8">
    <body>
<?php
  $student_name=$_POST['wxname']; 
  $student_nick=$_POST['info']; 
  $link=mysqli_connect(SAE_MYSQL_HOST_M.':'.SAE_MYSQL_PORT,SAE_MYSQL_USER,SAE_MYSQL_PASS);
  mysqli_select_db($link,"app_formtest1");
  if (!$link)
  {
	die('Could not connect: ' . mysql_error());
  };

  $result=mysqli_query($link,"insert into weixin_students(student_nick,student_text)values($student_nick,$student_text)");
  
mysqli_close($link);
?>
    </body>
</html>